package com.wave.system.domain.bo;

import com.wave.common.core.domain.BaseEntity;
import com.wave.common.core.validate.AddGroup;
import com.wave.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 工装架线体业务对象 sys_tool_shelf_line
 *
 * @author wave
 * @date 2024-10-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysToolShelfLineBo extends BaseEntity {

    private static final long serialVersionUID = 1202856889514207526L;
    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 线体节点号
     */
    @NotBlank(message = "线体节点号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lineNode;

    /**
     * 工装架编号
     */
    @NotBlank(message = "工装架编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shelfNumber;

    /**
     * 状态,0-到位, 1-未到位
     */
    @NotNull(message = "状态,0-到位, 1-未到位不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;


}
